$OpenBSD: patch-Makefile_in,v 1.2 2016/12/05 13:57:20 jca Exp $
--- Makefile.in.orig	Thu Nov 10 14:16:59 2016
+++ Makefile.in	Thu Nov 10 14:17:30 2016
@@ -9,8 +9,8 @@
 CC= gcc
 AR=/usr/bin/ar
 RANLIB=/usr/bin/ranlib
-CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
-DEBUG= -g
+CCOPT= -Wall ${CFLAGS} @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
+DEBUG=
 #uncomment the following if you need libpcap based build under linux
 #(not raccomanded)
 COMPILE_TIME=
